<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class ModifyPromotionJoins extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::table('promotion_joins', function(Blueprint $table){
			$table->string('up_file', 255)->nullable()->default('');//上传文件
			$table->smallInteger('category_id')->nullable()->default(0);//法律类型
			$table->smallInteger('is_urgent')->nullable()->default(0);//是否加急
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		//
	}

}
